<?php // Vars: $game

use_helper('Date');
 
echo _open('div.clearfix');  
 
// Wrap the title in a H1  
echo _tag('h1.t_big', $game->title);  
 
// Open a P tag to display some game infos  
echo _tag('p.game_infos',  
 
  _tag('span', format_date($game->createdAt, 'D'))
 
);  
 
// render the game image.  
// scale it to 200px width and height.  
// give it the "image" CSS class.  
//echo _media($game->Image)->size(200, 150)->set('.image');  
 
// render game body processed with markdown.  
//echo markdown($game->body);  

echo _close('div');  
//create game frame
echo "<div style = 'margin-left:-80px'>";
echo '<iframe src="/game/game_1/index.html" name="Englishacorn" width="800" height="600" frameborder="0" scrolling="no" ><p>Your browser does not support iframes.</p> ></iframe>';
echo "<div>";